package io.focus.mijin.zuul.ratelimit.support;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * @author Marcos Barbero
 * @author Liel Chayoun
 * @since 2018-04-05
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class RateLimitConstants {

    public static final String HEADER_QUOTA = "X-RateLimit-Quota-";

    public static final String HEADER_REMAINING_QUOTA = "X-RateLimit-Remaining-Quota-";

    public static final String HEADER_LIMIT = "X-RateLimit-Limit-";

    public static final String HEADER_REMAINING = "X-RateLimit-Remaining-";

    public static final String HEADER_RESET = "X-RateLimit-Reset-";

    public static final String REQUEST_START_TIME = "rateLimitRequestStartTime";

    public static final String UN_KNOWN = "unKnown";

    public static final String X_REAL_IP = "X-Real-IP";

    public static final String PROXY_CLIENT_IP = "Proxy-Client-IP";

    public static final String WL_PROXY_CLIENT_IP = "WL-Proxy-Client-IP";

    public static final String HTTP_CLIENT_IP = "HTTP_CLIENT_IP";

    public static final String HTTP_X_FORWARDED_FOR = "HTTP_X_FORWARDED_FOR";

}
